package chapter12;

import chapter11.EX18;

/**
 * Created by Caesar on 2016/1/5.
 */
class BaseballExpection extends Exception{}
class StormExcpetion extends Exception{}
class RainedOut extends StormExcpetion{}

abstract class Inning{
    public void event(){

    }
}

interface Storm{
    public void event() throws RainedOut;
    public void rainHard() throws RainedOut;
}

public class StormyInning extends Inning implements Storm {
    public void rainHard() throws RainedOut{

    }
}
